
public class zhengfangti {
	private int V,S;
	private int q;
	public zhengfangti(int q){
		this.q=q;
	}
	public int tijiV(int q){
		V=q*q*q;
		return V;
	}
	public int mianjiS(int q){
		S=q*4*6;
		return S;
	}
}